<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>登录</title>

    <link rel="stylesheet" href="/static/lib/weui-master/css/weui.css" />
    <link rel="stylesheet" href="/static/lib/weui-master/css/weuix.css" />
    <script src="/static/lib/weui-master/js/php.js"></script>
    <script src="/static/lib/weui-master/js/zepto.min.js"></script>
    <script src="/static/lib/weui-master/js/zepto.weui.js"></script>
    <!-- import Vue.js -->
    <script src="/static/lib/vue/vue.min.js"></script>
    <script src="/static/lib/weui-master/js/axios.min.js"></script>
</head>

<body ontouchstart>
    <div id="app">

        <div class="weui-cells__title" style="margin-top:0; padding-top:10px;">用户登录</div>
        <div class="weui-cells weui-cells_form">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">用户名</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" v-model="code" placeholder="请输入用户名" type="text">
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">密码</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" v-model="pwd" placeholder="请输入密码" type="text">
                </div>
            </div>
        </div>
        <div class="weui-cells__tips">输入用户名密码登录</div>
        <div class="weui-btn-area">
            <a class="weui-btn weui-btn_primary" @click="login">登录</a>
        </div>
        <!-- footer -->
        {% include "./layout/login_footer.html" ignore missing %}
        <!-- /footer -->

    </div>

    <script src="/static/js/login.js"></script>

</body>
</html>